package com.rul.mars.mbg.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 评论详情
 *
 * @author RuL
 */
@Data
public class CommentDetail {

    @ApiModelProperty(value = "评论id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "评论者昵称")
    private String userNickName;

    @ApiModelProperty(value = "评论者头像")
    private String userIcon;

    @ApiModelProperty(value = "评价星级")
    private Byte star;

    @ApiModelProperty(value = "评价内容")
    private String content;

    @ApiModelProperty(value = "上传的图片url，多个url以英文逗号分隔")
    private String pics;

    @ApiModelProperty(value = "评论回复数")
    private Integer replayCount;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "回复")
    private List<CommentReplayDetail> replayDetails;
}
